package com.leidi.javacallspython.service;

import com.leidi.javacallspython.enetity.vo.QstAnsVo;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

import java.math.BigInteger;
import java.util.List;

@Service
public interface CallPythonService {

    String training();
    String saveDatasetTxt(String questions, String answer);
    String autoQA(String questions);

    String saveDataset(QstAnsVo qstAnsVo);

    List<QstAnsVo> selectQa(String question);

    boolean deleteByIds(BigInteger[] answerIds);

    String prepare();

    String parsingDocunment(MultipartFile files);
}
